package com.platform.api.bzproject.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.platform.api.bzproject.model.DistributionProfit;

import java.math.BigDecimal;

/**
 * <p>
 * 分销收益表 服务类
 * </p>
 *
 * @author guoshao
 * @since 2021-12-10
 */
public interface IDistributionProfitService extends IService<DistributionProfit> {


    PageInfo<DistributionProfit> pageInfo(DistributionProfit distributionProfit,Integer offset);

    PageInfo<DistributionProfit> selectAllProfitList(DistributionProfit distributionProfit,Integer offset);

    BigDecimal selectSumMoney(DistributionProfit profit);

    void delRandId(String userId,String souUserId, int count);

}
